home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmScaleSetTicks.z / XmScaleSetTicks
Text File  |  1998-10-30  |  5KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss - A Scale function that controls tick marks
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           #include <Xm/Scale.h>
  13.           vvvvooooiiiidddd XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss(
  14.           WWWWiiiiddddggggeeeetttt ssssccccaaaalllleeee,
  15.           iiiinnnntttt bbbbiiiigggg____eeeevvvveeeerrrryyyy,
  16.           CCCCaaaarrrrddddiiiinnnnaaaallll nnnnuuuummmm____mmmmeeeeddddiiiiuuuummmm,
  17.           CCCCaaaarrrrddddiiiinnnnaaaallll nnnnuuuummmm____ssssmmmmaaaallllllll,
  18.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____bbbbiiiigggg,
  19.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____mmmmeeeeddddiiiiuuuummmm,
  20.           DDDDiiiimmmmeeeennnnssssiiiioooonnnn ssssiiiizzzzeeee____ssssmmmmaaaallllllll);
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents Motif 2.1.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss controls the number, location, and size of
  27.           the tick marks on a Scale. Each tick mark is a
  28.           SeparatorGadget oriented perpendicular to the Scale's
  29.           orientation. For example, if the Scale is oriented
  30.           horizontally, the tick marks will be oriented vertically.
  31.  
  32.           If you specify tick marks for a Scale and then change the
  33.           Scale's orientation, you will have to do the following:
  34.  
  35.              +o  Remove all the tick marks. To remove tick marks from a
  36.                 Scale, you must destroy (with _X_t_D_e_s_t_r_o_y_C_h_i_l_d_r_e_n) the
  37.                 SeparatorGadget tick marks.  The first two children of
  38.                 a Scale are its title and scroll bar, and all
  39.                 additional children are tick marks.
  40.  
  41.              +o  Recreate the tick marks by calling XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss.
  42.  
  43.           _s_c_a_l_e     Specifies the Scale widget ID that is getting the
  44.                     tick marks.
  45.  
  46.           _b_i_g__e_v_e_r_y Specifies the number of scale values between big
  47.                     ticks.
  48.  
  49.           _n_u_m__m_e_d_i_u_m
  50.                     Specifies the number of medium ticks between big
  51.                     values.
  52.  
  53.           _n_u_m__s_m_a_l_l Specifies the number of small ticks between medium
  54.                     values.
  55.  
  56.           _s_i_z_e__b_i_g  Specifies the size (either width or height) of the
  57.                     big ticks.
  58.  
  59.           _s_i_z_e__m_e_d_i_u_m
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))       UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV       XXXXmmmmSSSSccccaaaalllleeeeSSSSeeeettttTTTTiiiicccckkkkssss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.                     Specifies the size (either width or height) of the
  75.                     medium ticks.
  76.  
  77.           _s_i_z_e__s_m_a_l_l
  78.                     Specifies the size (either width or height) of the
  79.                     small ticks.
  80.  
  81.           For a complete definition of Scale and its associated
  82.           resources, see XXXXmmmmSSSSccccaaaalllleeee(3).
  83.  
  84.      RRRREEEELLLLAAAATTTTEEEEDDDD
  85.           XXXXmmmmSSSSccccaaaalllleeee(3).
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                         (printed 10/24/98)
  130.  
  131.  
  132.  
  133.